.newFunctionWrapper {
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;

    :global {
        .ant-card-head {
            min-height: initial;
            height: 0;
            border: none;
        }
    }
}

.pageHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ededed;
    padding: 8px 0 24px 0;
    margin-bottom: 24px;

    h2 {
        font-size: 16px;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.85);
        line-height: 24px;
        margin-bottom: 0;
    }
}

.collapsePanel {
    background-color: transparent;

    :global {
        .ant-collapse-item {
            border-bottom-color: #ededed;
        }

        .ant-collapse-header {
            padding: 25px 50px 25px 0 !important;
            font-size: 16px;
            font-weight: 500;
            color: #000 !important;

            .ant-collapse-arrow {
                right: 0 !important;
            }
        }

        .ant-collapse-content-box {
            padding-right: 0;
            padding-left: 0;
        }
    }

    .collapseExpandIcon {
        font-size: 14px;
        font-weight: 500;
        color: rgba(0, 0, 0, 0.65);
        display: flex;
        justify-items: stretch;

        :global {
            .anticon {
                margin-left: 5px;
                color: rgba(0, 0, 0, 0.45);
            }
        }
    }
}

.labelAndValueWrapper {
    display: flex;
    margin-bottom: 16px;

    > span:first-child {
        color: rgba(0, 0, 0, 0.45);
        text-align: right;
        width: 135px;
    }

    > span:last-child {
        color: rgba(0, 0, 0, 0.85);
        flex: 1;
    }
}

.functionListTable {
    overflow-x: auto;
    :global {
        .ant-table-tbody {
            > tr:last-child {
                > td {
                    border-bottom-color: transparent;
                }
            }
        }
        .ant-table-header-column {
            width: 100%;
        }

        .auditStatus-0 {
            color: #398eff;
        }

        .auditStatus-1 {
            color: #ffa22d;
        }

        .auditStatus-3 {
            color: #fe5858;
        }

        .functionGrade-1 {
            color: rgba(0, 0, 0, 0.45);
        }

        .functionGrade-2 {
            color: rgba(0, 0, 0, 0.65);
        }

        .functionGrade-3 {
            color: rgba(0, 0, 0, 0.84);
            font-weight: 500;
        }
    }
}

.newFunctionTableHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    ul {
        display: flex;
        width: 100%;
        margin-bottom: 0;

        li {
            margin: 5px;
            flex: 1;
            text-align: center;
        }
    }
}

.functionIncidenceWrapper {
    display: flex;
    align-items: center;

    i,
    span {
        flex: 1;
        text-align: center;
    }
    :global {
        .anticon-minus {
            font-size: 11px;
        }
    }
}

.enableNewFunction {
    margin-bottom: 16px;
}

.newFunctionSearchWrapper {
    margin-bottom: 24px;
}

.newFunctionListWrapper {
    padding-top: 8px;
}

.icon {
    margin: 0 5px;
    cursor: pointer;
    font-size: 22px;

    &[disabled] {
        pointer-events: none;
        color: rgba(0, 0, 0, 0.25);
        cursor: not-allowed;
    }

    &:hover {
        color: #ffa22d;
    }

    &.delect:hover {
        color: rgba(255, 0, 0, 0.85);
    }
}

.tableAction {
    :global {
        i {
            display: inline-flex;
            align-items: center;

            &::after {
                content: '';
                display: block;
                width: 1px;
                height: 14px;
                background: #eaeaea;
                margin-left: 10px;
            }

            &:last-child {
                &::after {
                    display: none;
                }
            }
        }
    }
}

.unread,
.read {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;

    &:hover {
        color: #ffa22d;
    }

    &:before {
        position: absolute;
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        left: -11px;
    }
}

.unread {
    &:before {
        background-color: #ffa22d;
    }
}

.read {
    &:before {
        background-color: transparent;
    }
}

.releaseDescribe {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 550px;
}

.noAuth {
    cursor: default;
    &:hover {
        color: rgba(0, 0, 0, 0.65);
    }
}
